package com.matt.repository.base;

import com.matt.foundation.DO.CoursePlanDO;
import com.matt.foundation.query.AreaCourseQuery;
import com.matt.foundation.query.CoursePlanQuery;

import java.util.List;

/**
 * *******************************
 * Created by Ron.
 * form com.matt
 * on 2017/9/19
 * *******************************
 */
public interface CoursePlanTeachingAreaRepository {

    List<CoursePlanDO> findCoursePlanByCondition(CoursePlanQuery query);

    Long countCoursePlanByCondition(CoursePlanQuery query);

    List<Object[]> findCoursePlanByAreaId(AreaCourseQuery query);

    Long countCoursePlanByAreaId(AreaCourseQuery query);

     List<Object[]> findCoursePlanListByAreaId(String areaId, String todayBegin);
}
